package com.md.code;

public class Text06 {
	public static void main(String[] args) {
		for(int i = 100; i < 1000; i++) {
			int bai = i / 100;
			int shi = i / 10 % 10;
			int ge = i % 10;
			int shui = bai * bai * bai + shi * shi * shi + ge * ge * ge;
			if(shui == i) {
				System.out.println(i);
			}
		}
		
	}
}
